package com.dz.dao;

import com.dz.bean.count;
import com.dz.bean.user;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Mapper
@Repository
public interface userMapper {
    int deleteUser(@Param("id") Integer id);
    List<user>  login(user user);
    List<user>  selectAll();
    int userinsert(user user);
    int updateByPrimaryKey(user user);
//    Integer  selectBody();
   Integer countuser();
    List<Map> countuserdizhi();
}
